<template>
    <div>
        <van-uploader :after-read="afterRead" />
        <van-notice-bar text="通知内容" left-icon="volume-o" />
    </div>
</template>

<script>
  import Vue from 'vue';
  import { Uploader ,NoticeBar } from 'vant';
  Vue.use(Uploader).use(NoticeBar);
  export default {
    name: "Profile",
    methods:{
      afterRead(file){
        console.log(file)
      }
    }
  }
</script>

<style scoped>

</style>
